base: fix half reference conversion expecting zeroed target
authorØyvind Kolås <pippin@gimp.org>
Sat, 16 Jan 2016 10:16:22 +0000 (11:16 +0100)
committerØyvind Kolås <pippin@gimp.org>
Sat, 16 Jan 2016 10:16:22 +0000 (11:16 +0100)
commitcc408deb86082737cf73c7d139f13a9bd56b1626
tree166ffb24fe82135406b97027550be2c682dff05c
parent4df66f64a91b5656ca13c368db062841d9ec7fa3
base: fix half reference conversion expecting zeroed target

As discovered in bug #760703 the reference path is currently expecting
zeroed memory, fix by explicitly zeroing last 32bit of mantissa.
babl/base/type-half.c